package com.yfs.cloud.entity;

import javax.persistence.*;

import io.swagger.annotations.ApiModelProperty;

/**
* @Company: 影法師工作室
* @Description: 用户角色实体 
* @author 影法師  
* @date 2020年8月25日 下午3:15:28 
* @version V1.0
 */
@Table(name = "user_roles")
public class UserRole extends BaseEntity {

	@Column(name = "user_id")
	@ApiModelProperty(value = "用户id")
	private Long userId;

	@Column(name = "role_id")
	@ApiModelProperty(value = "角色id")
	private Long roleId;

	public Long getUserId() {
		return userId;
	}

	public void setUserId(Long userId) {
		this.userId = userId;
	}

	public Long getRoleId() {
		return roleId;
	}

	public void setRoleId(Long roleId) {
		this.roleId = roleId;
	}

}